package de.java.swing.extension.controller;

import java.awt.event.MouseEvent;

public class ExtendedMouseAdapter extends java.awt.event.MouseAdapter {

	private MouseEvent event;

	@Override
	public void mousePressed(MouseEvent e) {
		event = e;
		execute();
	}

	public void execute() {
	}

	/**
	 * @return the event
	 */
	public MouseEvent getEvent() {
		return event;
	}

	/**
	 * @param event
	 *            the event to set
	 */
	public void setEvent(MouseEvent event) {
		this.event = event;
	}

}
